#include <stdlib.h>
#include <wiringPi.h>
struct InputCommander
{
  char commandName[128];
  char command[32];
  char devicesName[128];
  int (*Init)(struct InputCommander *voicer, char *ipAdress, char *port);
  int (*getCommand)(struct InputCommander *voicer);
  char log[1024];
  int fd;
  char port[12];
  char ipAdrre[32];
  int sfd;
  struct InputCommander *next;
};
struct InputCommander *addVoiceControlCommandLink(struct InputCommander *pthead);
struct InputCommander *addSocketControlCommandLink(struct InputCommander *pthead);
